part of 'learning_info.dart';

class LearningSession extends Equatable {
  const LearningSession({
    required this.learningIntervals,
  });

  final BuiltList<LearningInterval> learningIntervals;

  @override
  List<Object?> get props {
    return [
      learningIntervals,
    ];
  }

  LearningSession copyWith({
    BuiltList<LearningInterval> Function()? learningIntervals,
  }) {
    return LearningSession(
      learningIntervals: learningIntervals == null ? this.learningIntervals : learningIntervals(),
    );
  }
}
